using System;

namespace Clandestine.Input
{
	public delegate void internalButtonEvent(IButtonDevice device, int n);
	
	public interface IButtonDevice
	{
		int ButtonCount { get; }
		event internalButtonEvent ButtonPressed;
		event internalButtonEvent ButtonReleased;
		
		bool IsButtonPressed(int n);
		void ProcessEvents();
	}
}
